package com.shop.zzh.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @program: shop
 * @description: 用户类
 * @author: zhuzh
 * @create: 2019-11-19 20:10
 **/
@Data
public class User implements Serializable {
	private String id;
	private String userName;
	private String password;
	private String sex;
	private String userImage;
	//权限
	private String privilege;
	//正式姓名
	private String trueName;
	private String phoneNo;
	private String eMail;
	private String qq;
	private String wx;
	private Integer points;
	private String userBankCardNo;
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date lastTimeLogin;

	private Integer status;//状态
}
